package io.terminus.spzx.manager;

import io.terminus.spzx.common.log.annotation.EnableSpzxLog;
import io.terminus.spzx.manager.properties.MinioProperties;
import io.terminus.spzx.manager.properties.UserProperties;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @Author lichunlong lcl253137@alibaba-inc.com
 * @Desc spzx-manager工程的Spring Boot启动类
 * @Date 2024-03-12
 */
@EnableSpzxLog
@EnableScheduling
@SpringBootApplication
@ComponentScan(basePackages = {"io.terminus.spzx"})
@EnableConfigurationProperties(value = {UserProperties.class, MinioProperties.class})
public class ManagerApplication {

    public static void main(String[] args) {
        SpringApplication.run(ManagerApplication.class, args);
    }
}
